

#ifndef _SHELL_REQCHANGEGEM_MESSAGE_H_
#define _SHELL_REQCHANGEGEM_MESSAGE_H_

#include "Message.h"
#include "Beans.h"
using namespace std;

class ReqChangeGemMessage : public Message
{
	public:
	ReqChangeGemMessage();
	~ReqChangeGemMessage();
	void reset();
	ReqChangeGemMessage* clone();
	static const int _ID;
	//源宝石id
	int32 sourceId;
	//目标宝石Id
	int32 targetId;
	
	bool read_from(ByteBuf& buf);
    bool write_to(ByteBuf& buf);
    int getId();
};

#endif
